Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove mozjpeg #285

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Remove mozjpeg #285

wants to merge 3 commits into from

Conversation

MelSumner
Copy link
Collaborator

@MelSumner MelSumner commented Oct 28, 2024

A draft PR to see how I can progress with removing mozjpeg

This PR:

  • removes references to mozjpeg in the README
  • removes mozjpeg in the Dockerfile

The docker command referenced in the CONTRIBUTING file is successfully running locally.

Tests also pass locally:
CleanShot 2024-10-28 at 16 15 18

@CLAassistant
Copy link

CLAassistant commented Oct 28, 2024

CLA assistant check
All committers have signed the CLA.

&& ./configure \
&& make \
&& make install

# we must not use any packages which depend directly or indirectly on libjpeg,
# since we want to use our own mozjpeg build
RUN apt-get install -y \
Copy link
Collaborator Author

@MelSumner MelSumner Oct 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@benschwarz does this mean we don't need these either, since we're removing mozjpeg?

@MelSumner MelSumner marked this pull request as ready for review October 28, 2024 21:17
@benschwarz benschwarz mentioned this pull request Nov 5, 2024
5 tasks
@benschwarz
Copy link
Member

@MelSumner Pretty much the whole docker file is removable seeing as we don't want mozjpeg (or all the deps required for the build). Additionally, we should be able to use libvips that's automatically installed by sharp (NPM), so another one off the list ✂️

@benschwarz
Copy link
Member

Are you happy with where this is for now, or is there still more to do?

Copy link
Member

@benschwarz benschwarz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removal looks complete as far as I can tell 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants